<template>
  <div class="no-data">
    <img :src="img" alt />
    <p class="text">{{text}}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props:['img','text'],
  components: {}
};
</script>

<style lang='scss'>
.no-data {
  overflow: hidden;
  img {
    width: 5.96rem /* 447/75 */;
    margin: 1.12rem /* 84/75 */ auto 0.4rem /* 30/75 */ auto;
    display: block;
  }
  .text {
    font-size: 0.4rem /* 30/75 */;
    color: #4482ff;
    text-align: center;
  }
}
</style>
